WP_Statistics\Service\Admin\Posts\PostsManager S

Total Complexity 49
Dependencies 12
Dependents 2
Total lines 362
Lines of code 180
Logical lines of code 88
Comment lines 122
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
getPostStatisticsSummary()
A
38 12 65
initHitsColumn()
A
47 14 31
__construct()
S
55 6 17
enqueueSidebarPanelAssets()
S
57 5 16
addPostMetaBoxes()
S
53 3 27
shouldDisplaySummaryMetabox()
S
76 3 3
shouldDisplayLatestVisitorsMetabox()
S
76 2 3
addWordsCountCallback()
S
80 1 3
removeWordsCountCallback()
S
80 1 3
deletePostHits()
S
70 1 6
deleteTermHits()
S
70 1 6